package com.qdlc.p2p.biz.service.user;

import com.qdlc.p2p.common.core.ReturnResult;
import com.qdlc.p2p.dal.dto.User;

public interface UserPayPasswordService {

	/**
	 * [交易密码]修改交易密码
	 * @param user 操作用户
	 * @param payPassword 原始交易密码
	 * @param newPayPassword 新交易密码
	 * @param confirmNewPayPassword 确认交易密码
	 * @return
	 */
	ReturnResult modifyPayPassword(User user, String payPassword, String newPayPassword, String confirmNewPayPassword);

	/**
	 * [交易密码]重置交易密码
	 * @param user 操作用户
	 * @param code 短信验证码
	 * @param newPayPassword 新交易密码
	 * @param confirmNewPayPassword 确认交易密码
	 * @return
	 */
	ReturnResult modifyResetPayPassword(User user, String code, String newPayPassword, String confirmNewPayPassword);

}
